const apiConfig = {
  web: {
    getDetail: '/news/detail',
    getTab: '/news/category/list',
    getData: '/category/index',
    list: '/category/news/list',
    serachlist: '/news/search',
    hotsearch: '/news/hot/search',
    agreeurl: '/news/agree',
    memlist: '/source/member/list',
    authordetail: '/special/author/home',
    authorlist: '/special/author/list',
    footerlink: '/bottom/link',
    indexurl: '/v2/home/index',
    topicurl: '/subject/index',
    conferenceApplyIndex:'/conference/apply/index',//会议报名首页接口
    mediaApplySubmit:'/media/apply/submit',//媒体报名提交接口
    conferenceApplySubmit:'/conference/apply/submit',//参会报名提交接口
    conferenceApplyOptions:'/conference/apply/options',//年会报名选项接口
    loginsure: '/validate/token',
    register: '/user/register',
    captchakey: '/generate/captcha',
    loginurl: '/user/login',
    forgeturl: '/forget/passwd',
    linkurl: '/user/favourite/add',
    articlelist: '/user/favourite/list',
    downloadlist: '/download/center/list',
    activateurl: '/email/validate',
    modfypassurl: '/reset/passwd',
    delfavourite: '/user/favourite/delete',
    usercenter: '/user/center',
    modifysubmit: '/modify/user',
    validateemail: '/resend/validate/email',
    loginout: '/user/logout'
  },
  newsList: '/news/list',
  newsDetail: '/news/detail',
  addNews: '/news/add',
  updateNews: '/news/update',
  deleteNews: '/news/delete',
  updateNewsState: '/news/switch/update',
  newsOption: '/news/option',
  fileUpload:'/news/file/upload',
  fileMerge:'/news/merge/upload/file',

  newsCategoryList: '/news/category/list',
  newsCategoryFirstLevel: '/news/category/options',
  newsCategoryAllLevel: '/news/category/all/level',
  newsCategoryOptions: '/news/category/options',
  addNewsCategory: '/news/category/add',
  updateNewsCategory: '/news/category/update',
  deleteNewsCategory: '/news/category/delete',

  newsAgreeList: '/news/agree/list',
  newsAgreeDetail: '/news/agree/detail',
  addNewsAgree: '/news/agree/add',
  deleteNewsAgree: '/news/agree/delete',
  updateNewsAgree: '/news/agree/update',



  newsCommentList: '/news/comment/list',
  newsCommentDetail: '/news/comment/detail',
  addNewsComment: '/news/comment/add',
  deleteNewsComment: '/news/comment/delete',
  updateNewsComment: '/news/comment/update',

  linkList: '/link/list',
  linkDetail: '/link/detail',
  addLink: '/link/add',
  deleteLink: '/link/delete',
  updateLink: '/link/update',
  linkPositionOption: '/link/position/option',

  sourceList: '/source/list',
  sourceMemberList: '/source/member/list',
  sourceMemberDetail: '/source/member/detail',
  addSourceMember: '/source/member/add',
  deleteSourceMember: '/source/member/delete',
  updateSourceMember: '/source/member/update',

  adsList: '/ads/list',
  adsDetail: '/ads/detail',
  addAds: '/ads/add',
  deleteAds: '/ads/delete',
  updateAds: '/ads/update',
  adsPositionOptions: '/ads/position/options',

  specialAuthorList: '/special/author/list',
  specialAuthorDetail: '/special/author/detail',
  addSpecialAuthor: '/special/author/add',
  deleteSpecialAuthor: '/special/author/delete',
  updateSpecialAuthor: '/special/author/update',
  getSpecialAuthorCategoryOption: '/special/author/category/option',
  getAllSpecialAuthor: '/special/author/all',
  swithUpdateAuthor: '/special/author/switch/update',

  specialColumnList: '/special/column/list',
  specialColumnDetail: '/special/column/detail',
  addSpecialColumn: '/special/column/add',
  deleteSpecialColumn: '/special/column/delete',
  updateSpecialColumn: '/special/column/update',

  bannerList: '/banner/list',
  bannerDetail: '/banner/detail',
  addBanner: '/banner/add',
  deleteBanner: '/banner/delete',
  updateBanner: '/banner/update',
  bannerPositionOptions: '/banner/position/options',


  specialColumnAuthorList: '/special/column/author/list',
  specialColumnAuthorDetail: '/special/column/author/detail',
  addSpecialColumnAuthor: '/special/column/author/add',
  deleteSpecialColumnAuthor: '/special/column/author/delete',
  updateSpecialColumnAuthor: '/special/column/author/update',

  bottomLinkList: '/bottom/link/list',
  bottomLinkDetail: '/bottom/link/detail',
  addBottomLink: '/bottom/link/add',
  deleteBottomLink: '/bottom/link/delete',
  updateBottomLink: '/bottom/link/update',
  bottomLinkOption: '/bottom/link/option',

  authorNewsList: '/autho/news/list',
  authorNewsDetail: '/autho/news/detail',
  addAuthorNews: '/autho/news/add',
  deleteAuthorNews: '/autho/news/delete',
  updateAuthorNews: '/autho/news/update',

  homeConfigList: '/home/config/list',
  homeConfigDetail: '/home/config/detail',
  addHomeConfig: '/home/config/add',
  deleteHomeConfig: '/home/config/delete',
  updateHomeConfig: '/home/config/update',
  homeConfigRecommendItems: '/home/config/recommend/items',

  subjectList: '/subject/list',
  subjectDetail: '/subject/detail',
  addSubject: '/subject/add',
  deleteSubject: '/subject/delete',
  updateSubject: '/subject/update',
  getAllSubject: '/subject/all',
  getSubjectCategoryOptions: '/subject/category/options',
  switchUpdateSubject: '/subject/switch/update',

  subjectNewsList: '/subject/news/list',
  subjectNewsDetail: '/subject/news/detail',
  addSubjectNews: '/subject/news/add',
  deleteSubjectNews: '/subject/news/delete',
  updateSubjectNews: '/subject/news/update',

  subjectConfigList: '/subject/config/list',
  subjectConfigDetail: '/subject/config/detail',
  addSubjectConfig: '/subject/config/add',
  deleteSubjectConfig: '/subject/config/delete',
  updateSubjectConfig: '/subject/config/update',
  getSubjectConfigItemTypes: '/subject/config/item/types',

  subjectConferenceList: '/subject/conference/list',
  subjectConferenceDetail: '/subject/conference/detail',
  addSubjectConference: '/subject/conference/add',
  deleteSubjectConference: '/subject/conference/delete',
  updateSubjectConference: '/subject/conference/update',

  countryList: '/country/list',
  countryDetail: '/country/detail',
  addCountry: '/country/add',
  deleteCountry: '/country/delete',
  updateCountry: '/country/update',

  mediaApplyList: '/media/apply/list',
  mediaApplyDetail: '/media/apply/detail',
  addMediaApply: '/media/apply/add',
  deleteMediaApply: '/media/apply/delete',
  updateMediaApply: '/media/apply/update',

  conferenceApplyList: '/conference/apply/list',
  conferenceApplyDetail: '/conference/apply/detail',
  addConferenceApply: '/conference/apply/add',
  deleteConferenceApply: '/conference/apply/delete',
  updateConferenceApply: '/conference/apply/update',

  validateCodeList: '/validate/code/list',
  validateCodeDetail: '/validate/code/detail',
  addValidateCode: '/validate/code/add',
  deleteValidateCode: '/validate/code/delete',
  updateValidateCode: '/validate/code/update',

  userFavouriteList: '/user/favourite/list',
  userFavouriteDetail: '/user/favourite/detail',
  addUserFavourite: '/user/favourite/add',
  deleteUserFavourite: '/user/favourite/delete',
  updateUserFavourite: '/user/favourite/update',

  downloadCenterList: '/download/center/list',
  downloadCenterDetail: '/download/center/detail',
  addDownloadCenter: '/download/center/add',
  deleteDownloadCenter: '/download/center/delete',
  updateDownloadCenter: '/download/center/update',
  uploadDownloadCenterFile: '/download/center/file/upload',
  mergeDownloadCenterFile: '/download/center/merge/upload/file',
  updateDownloadCenterStatus: '/download/center/switch/update',

  attachList: '/attach/list',
  attachDetail: '/attach/detail',
  addAttach: '/attach/add',
  deleteAttach: '/attach/delete',
  updateAttach: '/attach/update'

}
export default apiConfig;




